#ifndef EXPRESULTFRAME_H
#define EXPRESULTFRAME_H

#include <QFrame>
#include <QTreeWidgetItem>
#include "expresultcalframe.h"
#include "expresultdataframe.h"
#include "expresultspectralframe.h"
#include "experiment.h"

namespace Ui {
class ExpResultFrame;
}

class ExpResultFrame : public QFrame
{
    Q_OBJECT
    
public:
    explicit ExpResultFrame(QWidget *parent = 0,Experiment* pExperiment=NULL);
    ~ExpResultFrame();

    void LoadData();
private:
    Ui::ExpResultFrame *ui;
    Experiment* pExperiment;
    ExpResultCalFrame *pExpResultCalFrame;
    ExpResultDataFrame *pExpResultDataFrame;
    ExpResultSpectralFrame *pExpResultSpectralFrame;

private slots:

    void on_tabWidget_currentChanged(int index);
};

#endif // EXPRESULTFRAME_H
